<div fwa-layout-container data-main="true" class="full-width full-height">
	<!--自适应 -->
	<div fwa-layout-box="north" style="height: 45px;">
		<div search-form class="container-search" data-submit="onSubmit();"
			data-reset="resetBut();" data-heights="[45,140]">
			<div class="row">
				<div class="form-group  col-xs-4">
					<label class="col-xs-4 control-label text-right">机构名称:</label>
					<div class="col-xs-8">
						<select ui-select2="{allowClear:true}" class="full-width"
							ng-model="form.healthProviderName">
							<option value=""></option>
							<option ng-repeat="data in medicalOrgInfoList"
								value="{{data.medicalOrgName}}">{{data.medicalOrgName}}</option>
						</select>
					</div>
				</div>

				<div class="form-group  col-xs-4">
					<label class="col-xs-4 control-label text-right">医院等级:</label>
					<div class="col-xs-8">
						<select ui-select2="{allowClear:true}" class="full-width"
						   ng-model="form.hospitalLevel">
							<option value=""></option>
							<option ng-repeat="data in communityService.medicalOrgLevelDatas"
										value="{{data.code}}">{{data.name}}</option>
						</select>
					</div>
				</div>
				<div class="form-group  col-xs-4">
					<label class="col-xs-4 control-label text-right">机构类别:</label>
					<div class="col-xs-8">
						<select ui-select2="{allowClear:true}" class="full-width"
						   ng-model="form.managementCode">
							<option value=""></option>
							<option ng-repeat="data in communityService.medicalOrgTypeDatas"
										value="{{data.code}}">{{data.name}}</option>
						</select>
					</div>
				</div>

			</div>
            <div ng-hide="searchMoreHide">
                <div class="row">
                    <div class="form-group  col-xs-4">
                        <label class="col-xs-4 control-label text-right">执业证号:</label>
                        <div class="col-xs-8">
                            <input type="text" class="form-control" ng-model="form.practiceLicense">
                        </div>
                    </div>

                    <div class="form-group  col-xs-4">
                        <label class="col-xs-4 control-label text-right">人员姓名:</label>
                        <div class="col-xs-8 control-label">
                            <input type="text" class="form-control" ng-model="form.name">
                        </div>
                    </div>

                    <div class="form-group  col-xs-4">
                        <label class="col-xs-4 control-label text-right">证件号:</label>
                        <div class="col-xs-8">
                            <input type="text" class="form-control" ng-model="form.certificateNo">
                        </div>
                    </div>

                </div>
            </div>
			<div ng-hide="searchMoreHide">
				<div class="row">
					<div class="form-group  col-xs-4">
						<label class="col-xs-4 control-label text-right">人员分类:</label>
						<div class="col-xs-8">
							<select ui-select2="{allowClear:true}" class="full-width"
							   ng-model="form.personType">
								<option value=""></option>
								<option ng-repeat="data in communityService.hosPersonTypeDatas"
											value="{{data.code}}">{{data.name}}</option>
							</select>
						</div>
					</div>

					<div class="form-group  col-xs-4">
						<label class="col-xs-4 control-label text-right">资格级别:</label>
						<div class="col-xs-8 control-label">
							<select ui-select2="{allowClear:true}" class="full-width"
							   ng-model="form.qualifiedLevel">
								<option value=""></option>
								<option ng-repeat="data in communityService.qualificationLevelDatas"
											value="{{data.code}}">{{data.name}}</option>
							</select>
						</div>
					</div>

						<div class="form-group col-xs-4" >
									<label class="col-xs-4 control-div text-right">
										省科室:
									</label>
									<div class="col-xs-8">
										<select ui-select2="{allowClear:true}" class="full-width"
										   ng-model="form.departNo">
											<option value=""></option>
											<option ng-repeat="data in  communityService.dictionaryMap['provincialDep']"
														value="{{data.codeno}}">{{data.codename}}</option>
										</select>
									</div>
						</div>

				</div>
			</div>
		</div>
	</div>
	<div fwa-layout-box="center" data-padding="true">
	
	
		<div fwa-layout-container  fwa-layout-fullsize="true" style="position: absolute;top:0px;right:0px;bottom:0px;left:0px;">
			<div fwa-layout-box="north" style="height:45px;">
                   <div class="col-xs-12 full-height background-white  div-border-bottom" ng-show="authority.add != 1"  style="line-height:45px;">
					     <button type="button" id="extractButton"class="btn btn-blue btn-sm"  ng-click="addDoctor();">新增</button>
	                  	  <button type="button"  ng-click="deleteDoctor()" class="btn btn-blue btn-sm"  >删除</button>
	                </div>
			</div>
			
			<div fwa-layout-box="center" style="">
			<fwa-table columns="columns" data-rows="tableData" data-check="true"
				check-rows="checkRows" class="full-height" id="table">
			 </fwa-table>
			 </div>
		</div>
	</div>
	<div fwa-layout-box="south" class=" page-height">
		<div class="col-xs-11">
			<div class="row">
	            <page-tool total-count="totalCount" current-page="currentPage"
                  data-limit="20">
                  </page-tool>
	        </div>
		</div>
		<div class="col-xs-1" style="background-color: #f1f2f4; line-height: 28px; ">
		  <div class="row">
		  	<button type="button" class="btn btn-blue btn-xs" ng-click="onExport();" >
		  		导出
		  	</button>
		  </div>
		</div>
	</div>
</div>
<fwa-loading data-show="loading" >
		加载中...
 </fwa-loading>

<script type="text/ng-template" id="insurance_modal.html">
<div class="modal-header">
	<button type="button" class="close" ng-click="onOk();">&times;</button>
	<h4 class="modal-title" id="myModalLabel">医保服务人员信息</h4>
</div>
<div class="modal-body" style="height: 300px;">
	<div fwa-layout-container data-main="true" class="full-width full-height" >
	<div fwa-layout-box="center" >
		<div fwa-table columns="modalColumns" data-rows="modalTableData" style="position:absolute;left:8px;right:18px;top:10px;bottom:18px;"
			data-check="false" >
		</div>
	</div>
	</div>
</div>
</script>